package com.itheima.service;

import com.itheima.entity.Orders;
import com.itheima.vo.OrderVO;

import java.util.List;
import java.util.Map;

public interface OrdersService {
    /***
     * 功能描述: 历史订单
     * @param page
     * @param pageSize
     * @return : java.util.Map<java.lang.String,java.lang.Object>
     */
    Map<String, Object> historicalOrder(Integer page, Integer pageSize);
    /***
     * 功能描述: 提交订单
     * @param orders
     * @return : int
     */
    int submitOrder(Orders orders);
}
